const formatTime = time => {
	if (!time) return '···'
	time = new Date(time)
	const month = (time.getMonth() + 1).toString().padStart(2, '0')
	const date = time
		.getDate()
		.toString()
		.padStart(2, '0')
	const hour = time
		.getHours()
		.toString()
		.padStart(2, '0')
	const minute = time
		.getMinutes()
		.toString()
		.padStart(2, '0')
	return month + '月' + date + '日 ' + hour + ':' + minute + ':00'
}

export {
    formatTime
}